package returnDataStruct;

import pojo.message;

import java.util.ArrayList;
import java.util.List;

public class messageList {
    List<messageSingle> ml;

    public messageList(List<message> ms) {
        ml = new ArrayList<>();
        for(message m : ms){
            ml.add(new messageSingle(m));
        }
    }

    public List<messageSingle> getMl() {
        return ml;
    }

    public void setMl(List<messageSingle> ml) {
        this.ml = ml;
    }
}
